package com.hu.edu;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import java.util.List;
import com.hu.edu.Edu;
@Repository
public interface EduDao {
    @Select("select * from edu")
    public List<Edu>findAll();
    @Insert("insert into edu (name,money) value(#{name},#{money})")
    public void findById(Edu edu);
}
